package com.hs.room.model.material

import androidx.room.ColumnInfo
import androidx.room.Entity
import androidx.room.PrimaryKey
import androidx.room.TypeConverters
import java.util.Date

@Entity(tableName = "tb_materials_type")
data class MaterialsType(
    @PrimaryKey(autoGenerate = true)
    val id : Long,
    val typeName:String,
    @ColumnInfo
    val createTime:String,
    @ColumnInfo
    val updateTime:String,
    @ColumnInfo
    val createTimestamp : Long,
    @ColumnInfo
    val updateTimestamp : Long,
    @ColumnInfo
    val createBy:String,
    @ColumnInfo
    val updateBy:String,
    @ColumnInfo
    val enable : Boolean
)